// 通用状态
export const GENERAL_STATUS = {
    NORMAL:{
        code: 1,
        name: "启用"
    },
    DISABLE:{
        code: 2,
        name: "禁用"
    }
}
// 通用是否
export const GENERAL_YES_NO = {
    YES:{
        code: 1,
        name: "是"
    },
    NO:{
        code: 2,
        name: "否"
    }
}



// 菜单类型
export const MENU_TYPE = {
    M:{
        code: 1,
        name: "目录"
    },
    C:{
        code: 2,
        name: "菜单"
    },
    F:{
        code: 3,
        name: "按钮"
    }
}
// 菜单是否缓存
export const MENU_IS_CACHE = {
    YES:{
        code: 1,
        name: "是"
    },
    NO:{
        code: 2,
        name: "否"
    }
}
// 菜单是否外链
export const MENU_IS_FRAME = {
    YES:{
        code: 1,
        name: "是"
    },
    NO:{
        code: 2,
        name: "否"
    }
}
// 菜单显示状态
export const MENU_VISIBLE = {
    YES:{
        code: 1,
        name: "显示"
    },
    NO:{
        code: 2,
        name: "隐藏"
    }
}
// 角色数据范围
export const ROLE_DATA_SCOPE = {
    ALL:{
        code: 1,
        name: "所有数据权限"
    },
    CUSTOM:{
        code: 2,
        name: "自定义数据权限"
    },
    DEPT:{
        code: 3,
        name: "本部门数据权限"
    },
    DEPT_AND_CHILD:{
        code: 4,
        name: "本部门及以下数据权限"
    },
    SELF:{
        code: 5,
        name: "仅本人数据权限"
    }
}
// 角色数据范围
export const ROLE_DATA_SCOPE_ARR = [ROLE_DATA_SCOPE.ALL,ROLE_DATA_SCOPE.CUSTOM,ROLE_DATA_SCOPE.DEPT,ROLE_DATA_SCOPE.DEPT_AND_CHILD,ROLE_DATA_SCOPE.SELF]



// 系统配置类型
export const CONFIG_TYPE = {
    STRING:{
        code: 1,
        name: "文字"
    },
    IMG:{
        code: 2,
        name: "图片"
    },
    VIDEO:{
        code: 3,
        name: "视频"
    },
    FILE:{
        code: 4,
        name: "文件"
    },
    INT:{
        code: 5,
        name: "整数"
    },
    DOUBLE:{
        code: 6,
        name: "小数"
    },
    TOTAL:{
        code: 7,
        name: "金额"
    },
    BOOLEAN:{
        code: 8,
        name: "Boolean值"
    }
}
// 系统配置数字类型
export const CONFIG_TYPE_NUM = {
    UNLIMITED:{
        code: 1,
        name: "不限"
    },
    PLUS:{
        code: 2,
        name: "正数"
    },
    MINUS:{
        code: 3,
        name: "负数"
    }
}



// 文件类型
export const FILE_TYPE = {
    FILE:{
        code: 1,
        name: "文件"
    },
    IMG:{
        code: 2,
        name: "图片"
    },
    VIDEO:{
        code: 3,
        name: "视频"
    }
}
// 图片还是视频
export const IMG_OR_VIDEO = {
    IMG:{
        code: 1,
        name: "图片"
    },
    VIDEO:{
        code: 2,
        name: "视频"
    }
}



// 性别类型
export const SEX = {
    UNKNOWN:{
        code: 1,
        name: "未知"
    },
    MAN:{
        code: 2,
        name: "男"
    },
    GIRL:{
        code: 3,
        name: "女"
    }
}